#!/bin/bash
#自动化安装k8s集群
cd ~/k8s/ansible
echo -e "\033[31m 确认ansible目录下文件已经根据实际情况修改完成\033[0m"
ansible all -m ping 
ansible-playbook node_install.yaml